import React, { Component } from 'react';
import '../styles/MySwiper.css' 
import { index_banner } from '../api/home';
class MySwiper extends Component {
    constructor(props) {
        super(props)
        this.state = {
            banner:[]
        }
    }
    componentDidMount() {
        index_banner().then((res) => {
            console.log(res)
        })
    }
    render() {
        return (
            <div className='swiper'>
                swiper
            </div>
        );
    }
}

export default MySwiper;